2a2c5567a08af4057fc6ca7ec7f04eb9e2953732,OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java,OsmandRenderer,drawIconsOverCanvas,#RenderingContext#Canvas#,341

Before Change


						// check bit b if it is set
						if (((ind >> b) & 1) == 0) {
							alreadyDrawnIcons[i] = ind | (1 << b);
							cv.drawBitmap(ico, icon.x - ico.getWidth() / 2, icon.y - ico.getHeight() / 2, paintIcon);
						}
					}
				}

After Change


						if (((ind >> b) & 1) == 0) {
							alreadyDrawnIcons[i] = ind | (1 << b);
							if(rc.highResMode) {
								float left = icon.x - rc.getDensityValue(ico.getWidth() / 2);
								float top = icon.y - rc.getDensityValue(ico.getHeight() / 2);
								cv.drawBitmap(ico, null, new RectF(left, top, left + rc.getDensityValue(ico.getWidth()), top
										+ rc.getDensityValue(ico.getHeight())), paintIcon);
							} else {
								cv.drawBitmap(ico, icon.x - ico.getWidth() / 2, icon.y - ico.getHeight() / 2, paintIcon);
							}
						}
					}